﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dazaza.Framework.Entity;

namespace Dazaza.Domain.Model
{
    public class UserModel
    {
        [DataMapping("userid", System.Data.DbType.Int32)]
        public int UserID { get; set; }
        [DataMapping("name", System.Data.DbType.String)]
        public string Name { get; set; }
        [DataMapping("pass", System.Data.DbType.String)]
        public string Pass { get; set; }
        [DataMapping("posttime", System.Data.DbType.DateTime)]
        public DateTime Posttime { get; set; }
        [DataMapping("points", System.Data.DbType.Int32)]
        public int Points { get; set; }
        [DataMapping("email", System.Data.DbType.String)]
        public string Email { get; set; }
        [DataMapping("aboutme", System.Data.DbType.String)]
        public string AboutMe { get; set; }
        [DataMapping("logo", System.Data.DbType.String)]
        public string Logo { get; set; }
        [DataMapping("cansubmit", System.Data.DbType.Int32)]
        public int CanSubmit { get; set; }
        [DataMapping("blog", System.Data.DbType.String)]
        public string Blog { get; set; }
        [DataMapping("ticket", System.Data.DbType.String)]
        public string Ticket { get; set; }
        [DataMapping("prov", System.Data.DbType.String)]
        public string Prov { get; set; }
        [DataMapping("im", System.Data.DbType.String)]
        public string IM { get; set; }
        [DataMapping("blogtheme", System.Data.DbType.String)]
        public string Blogtheme { get; set; }
        [DataMapping("blogtitle", System.Data.DbType.String)]
        public string Blogtitle { get; set; }
        [DataMapping("blogannounce", System.Data.DbType.String)]
        public string Blogannounce { get; set; }
        [DataMapping("nickname", System.Data.DbType.String)]
        public string NickName { get; set; }
        [DataMapping("isemailvalid", System.Data.DbType.Int32)]
        public int IsEmailValid { get; set; }
        [DataMapping("lastactive", System.Data.DbType.DateTime)]
        public DateTime lastactive { get; set; }
        [DataMapping("categoryfilter", System.Data.DbType.String)]
        public string categoryfilter { get; set; }
        [DataMapping("isanchor", System.Data.DbType.Int32)]
        public int isanchor { get; set; }
        [DataMapping("lastmessageid", System.Data.DbType.Int32)]
        public int lastmessageid { get; set; }
        [DataMapping("city", System.Data.DbType.String)]
        public string city { get; set; }
    }
}
